[#escape x as x?html]
    [#list photos?chunk(4) as row]
         <li>
         	[#list row as photo]
         	<div class="group-item">
         		<a href="${photo.link.parseLink(base)}" class="iconfont" [#if photo.isOpenNew]target="_blank" [/#if] title="${photo.text}">
       				<img src="${base}${photo.accessory.path}" style="width:280px;height:150px;"/>
         			<div class="text">${photo.text}</div>
         		</a>
           	</div>
           	[/#list]
         </li>
    [/#list]
[/#escape]